<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>主机配置页面</title>
	<link rel="stylesheet" href="../../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../css/public.css" media="all" />
	<link rel="stylesheet" href="../../../css/index.css" media="all" />
</head>
<body class="childrenBody">
<div class="layui-form layui-form-pane" action="">
  <div class="layui-form-item">
   	<div class="layui-input-inline" id="method-div">
      <select name="methods" id="method-select">
        <option value="POST" selected="">POST</option>
        <option value="GET">GET</option>
        <option value="PUT">PUT</option>
      </select>
    </div>
    <div class="layui-inline" style="margin-left:-1px">
      <input type="text" id="requestUrl" lay-verify="required" placeholder="请输入请求的url" autocomplete="off" class="layui-input input-class">
    </div>
    <div class="layui-inline">
        <button class="layui-btn otherpage-btn" id="sendRequest" style="background-color:#5FB878">SEND</button>
    </div>
  </div> 
  
  <div class="layui-form-item">
    <label class="layui-form-label" style="width:110px">Headers</label>
    <div class="layui-input-inline">
      <select name="content" id="header-select">
        <option value="application/json" selected="">application/json</option>
        <option value="application/json;charset=utf-8">application/json;utf-8</option>
        <option value="application/xml">application/xml</option>
        <option value="text/html">text/html</option>
      </select>
    </div>
  </div>
  
  <div class="layui-form-item" pane="">
    <label class="layui-form-label">报文格式</label>
    <div class="layui-input-block">
      <input type="radio" name="format" value="json" title="json" checked="">
      <input type="radio" name="format" value="xml" title="xml">
      <input type="radio" name="format" value="text" title="text">
      <div id="callTime"></div>
    </div>
  </div>
  
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">入参 Body</label>
    <div class="layui-input-block">
      <textarea placeholder="请输入内容" class="layui-textarea text-area" id="inParameter"></textarea>
    </div>
  </div>
   <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">请求结果</label>
    <div class="layui-input-block">
      <textarea  class="layui-textarea text-area" id="interface_res"></textarea>
    </div>
  </div>
</div>
</body>
<script type="text/javascript" src="../../../layui/layui.js"></script>
<script type="text/javascript" src="common.js"></script>
</html>